<?php
class ChangePasswordControl extends CI_controller
{
	function changePasswordControl()
	{
		parent::__construct();
	}

	function changePassword()
	{
	
	}
	
	function showChangePasswordPage()
	{	
		if ($this->input->post('submit')) {
			$this->load->model('userModel');
			$this->userModel->changePassword();
			redirect('login/index');
		}
		$this->load->view('changePasswordPage');
	}
}

?>